<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>cbp2make: src/cbhelper.h File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">cbp2make
   </div>
   <div id="projectbrief">Makefile generation tool for Code::Blocks IDE</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">cbhelper.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Auxiliary functions for strings processing.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="../../d0/d3c/stlstrings_8h_source.html">stlstrings.h</a>&quot;</code><br/>
</div>
<p><a href="../../df/dd3/cbhelper_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a32a5c6c2351743073c5df2b7090c8adb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd3/cbhelper_8h.html#a32a5c6c2351743073c5df2b7090c8adb">ShowStringList</a> (const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;Title, const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;LinePrefix, const <a class="el" href="../../dc/daa/classCStringList.html">CStringList</a> &amp;StringList)</td></tr>
<tr class="memdesc:a32a5c6c2351743073c5df2b7090c8adb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints titled string list to standard output.  <a href="#a32a5c6c2351743073c5df2b7090c8adb">More...</a><br/></td></tr>
<tr class="separator:a32a5c6c2351743073c5df2b7090c8adb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8df51fe5d5c5bd6edc8d8992dbf47a75"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/da9/classCString.html">CString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd3/cbhelper_8h.html#a8df51fe5d5c5bd6edc8d8992dbf47a75">MakefileFriendly</a> (const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;AString)</td></tr>
<tr class="memdesc:a8df51fe5d5c5bd6edc8d8992dbf47a75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes a makefile compatible identifier string from the given string.  <a href="#a8df51fe5d5c5bd6edc8d8992dbf47a75">More...</a><br/></td></tr>
<tr class="separator:a8df51fe5d5c5bd6edc8d8992dbf47a75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ea18dc5b132904e5e09373dbb4d5c45"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/da9/classCString.html">CString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd3/cbhelper_8h.html#a6ea18dc5b132904e5e09373dbb4d5c45">XMLFriendly</a> (const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;AString)</td></tr>
<tr class="memdesc:a6ea18dc5b132904e5e09373dbb4d5c45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes an XML compatible identifier string from the given string.  <a href="#a6ea18dc5b132904e5e09373dbb4d5c45">More...</a><br/></td></tr>
<tr class="separator:a6ea18dc5b132904e5e09373dbb4d5c45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af77c55aaae54cacd51a80bd4cb56b939"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/da9/classCString.html">CString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd3/cbhelper_8h.html#af77c55aaae54cacd51a80bd4cb56b939">FlatFileName</a> (const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;FileName)</td></tr>
<tr class="memdesc:af77c55aaae54cacd51a80bd4cb56b939"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts given file path to another file name without path delimiters.  <a href="#af77c55aaae54cacd51a80bd4cb56b939">More...</a><br/></td></tr>
<tr class="separator:af77c55aaae54cacd51a80bd4cb56b939"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a0de928d999c997180919163896213baf"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd3/cbhelper_8h.html#a0de928d999c997180919163896213baf">CASE_KEEP</a> = 0</td></tr>
<tr class="separator:a0de928d999c997180919163896213baf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a403a9d8ce58cca5a296fe3f3663cca6e"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd3/cbhelper_8h.html#a403a9d8ce58cca5a296fe3f3663cca6e">CASE_LOWER</a> = 1</td></tr>
<tr class="separator:a403a9d8ce58cca5a296fe3f3663cca6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fcc95e5a38a8bf4d1cb1f8d4bae92d5"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd3/cbhelper_8h.html#a4fcc95e5a38a8bf4d1cb1f8d4bae92d5">CASE_UPPER</a> = 2</td></tr>
<tr class="separator:a4fcc95e5a38a8bf4d1cb1f8d4bae92d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab266b1b0a34471e2b2638bb70312662d"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd3/cbhelper_8h.html#ab266b1b0a34471e2b2638bb70312662d">QUOTE_AUTO</a> = 0</td></tr>
<tr class="separator:ab266b1b0a34471e2b2638bb70312662d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93aa6b62440d40bcc6971b941709b559"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd3/cbhelper_8h.html#a93aa6b62440d40bcc6971b941709b559">QUOTE_NEVER</a> = 1</td></tr>
<tr class="separator:a93aa6b62440d40bcc6971b941709b559"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76c8612f154c856a8815ab4c101c3e3e"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dd3/cbhelper_8h.html#a76c8612f154c856a8815ab4c101c3e3e">QUOTE_ALWAYS</a> = 2</td></tr>
<tr class="separator:a76c8612f154c856a8815ab4c101c3e3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Auxiliary functions for strings processing. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="af77c55aaae54cacd51a80bd4cb56b939"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/da9/classCString.html">CString</a> FlatFileName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>FileName</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts given file path to another file name without path delimiters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">FileName</td><td>a file name possibly containing path to a file.</td></tr>
  </table>
  </dd>
</dl>
<p>Example: "path/to/file/source.o" will be converted to "path_to_file_source.o" </p>

</div>
</div>
<a class="anchor" id="a8df51fe5d5c5bd6edc8d8992dbf47a75"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/da9/classCString.html">CString</a> MakefileFriendly </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>AString</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Makes a makefile compatible identifier string from the given string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">AString</td><td>an identifier name.</td></tr>
  </table>
  </dd>
</dl>
<p>Custom strings may contain characters that are not allowed inside makefile, therefore these characters are replaced with allowed characters (underscore, etc). </p>

</div>
</div>
<a class="anchor" id="a32a5c6c2351743073c5df2b7090c8adb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ShowStringList </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>Title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>LinePrefix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/daa/classCStringList.html">CStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>StringList</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prints titled string list to standard output. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Title</td><td>title of the string list.</td></tr>
    <tr><td class="paramname">LinePrefix</td><td>prefix string pritned at the beginning of each line.</td></tr>
    <tr><td class="paramname">StringList</td><td>list of strings to display. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6ea18dc5b132904e5e09373dbb4d5c45"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/da9/classCString.html">CString</a> XMLFriendly </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/da9/classCString.html">CString</a> &amp;&#160;</td>
          <td class="paramname"><em>AString</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Makes an XML compatible identifier string from the given string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">AString</td><td>an identifier name.</td></tr>
  </table>
  </dd>
</dl>
<p>Custom strings may contain characters that are not allowed for XML tags, therefore these characters are replaced with allowed characters (underscore, etc). </p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a0de928d999c997180919163896213baf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int CASE_KEEP = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a403a9d8ce58cca5a296fe3f3663cca6e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int CASE_LOWER = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a4fcc95e5a38a8bf4d1cb1f8d4bae92d5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int CASE_UPPER = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a76c8612f154c856a8815ab4c101c3e3e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int QUOTE_ALWAYS = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab266b1b0a34471e2b2638bb70312662d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int QUOTE_AUTO = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a93aa6b62440d40bcc6971b941709b559"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int QUOTE_NEVER = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Jun 9 2013 10:55:55 for cbp2make by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
